<%-- 
    Document   : MainPage
    Created on : 30.04.2011, 23:06:43
    Author     : ain
--%>

<%@page import="unc.pds.service.ServiceBeanRemote"%>
<%@page import="unc.pds.model.UserRemote"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Main Page</title>
    </head>
    <body>
        Hello,
        <%
            out.println(((UserRemote)((ServiceBeanRemote)session.getAttribute("service")).getUser()).getNickname());
        %>
        <br>
        <a href="DiariesPage.jsp">diaries</a>
        <a href="FoldersPage.jsp">folders</a>
        <a href="FriendsPage.jsp">friends</a>
        <a href="NewFriendsPage.jsp">new friends</a>
    </body>
</html>
